import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/DRN_withdrawalRecord_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/DRN_withdrawalRecord_entity.g.dart';

@JsonSerializable()
class DRNWithdrawalRecordEntity {
	List<DRNWithdrawalRecordList>? list;
	int? page;
	int? pageSize;
	int? total;

	DRNWithdrawalRecordEntity();

	factory DRNWithdrawalRecordEntity.fromJson(Map<String, dynamic> json) => $DRNWithdrawalRecordEntityFromJson(json);

	Map<String, dynamic> toJson() => $DRNWithdrawalRecordEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class DRNWithdrawalRecordList {
	String? id;
	int? state;
	String? stateName;
	int? createdAt;
	double? amount;
	double? feeRate;
	int? fee;
	double? actualAmount;
	String? remark;
	String? address;
	String? net;

	DRNWithdrawalRecordList();

	factory DRNWithdrawalRecordList.fromJson(Map<String, dynamic> json) => $DRNWithdrawalRecordListFromJson(json);

	Map<String, dynamic> toJson() => $DRNWithdrawalRecordListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}